package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.Strategy;
import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.query.StrategyCatalogQuery;

import cn.wolfcode.wolf2w.util.CatalogVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {

    void save(StrategyCatalog strategyCatalog);

    void update(StrategyCatalog strategyCatalog);

    void delete(String id);

    StrategyCatalog get(String id);

    List<StrategyCatalog> list();

    Page<StrategyCatalog> query(StrategyCatalogQuery qo);

    void saveOrUpdate(StrategyCatalog strategyCatalog);


    List<CatalogVO> groupList();

    /*
    *通过目的地id查询攻略集合
    * */
    List<StrategyCatalog> findByDestId(String id);


}
